import Mock from 'mockjs'
// Mock.setup({ timeout: 4000 });  
Mock.mock('data.php?page=1','get', function(options) {
  return Mock.mock({
    "code": 0,
    "message": "您当前未登陆",
    "result": {
      "list|10": [{
        "id|+1": 1,
        "userName": "@cname",
        "age|10-30":1,
        "sex|1-2": 1,
        "state|1-5": 1,
        "interest|1-8": 1,
        "isMarried|0-1": 1,
        "birthday": "2000-01-01",
        "address": "北京市海淀区",
        "time": "09:00:00"
      }],
      "page": 1,
      "page_size": 10,
      "total": 30
    }
  });
});
